import {createApp} from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"

// 引入 路由守卫
import "@/utils/routeGuard"

// 引入 ElementPlus
import ElementPlus from "element-plus"
import "element-plus/dist/index.css"

// 按需引入ElementPlus图标
import {El_Icon} from "@/plugins/ElementPlusIcons"

// 引入iconPark
import {iconPark} from "@/plugins/IconPark"
import "@icon-park/vue-next";

const app = createApp(App)
app.use(store)
app.use(router)
app.use(iconPark)
app.use(ElementPlus)
app.use(El_Icon)
app.mount("#app")
